import Root from "./Root"
import Home from "./Home"
import Detail from "./Detail";
import Collects from "./Collects"
import Search from "./Hot";

export default {
  path: "/dish",
  element: <Root />,
  children: [
    {
      path: "",
      element: <Home />
    },
    {
      path: ":dishId",
      element: <Detail />
    },
    {
      path: "mycollect",
      element: <Collects />
    },
    {
      path: "search",
      element: <Search />
    },
  ]
}